i = 0
sum = 0
while i < 50:
    sum += i
    i += 1

print(f"sum的值为{sum}")
